import { network } from '@/utils';

import { basic } from '../../../../../config/Apis';

import Mock from 'mockjs';

export async function queryList(params: any) {
  return network.get(basic.sectionConf_list, { params });
}

export async function addSection(params: any) {
  return network.post(basic.sectionConf, { data: params });
}

export async function editSection(params: any) {
  return network.put(basic.sectionConf, { data: params });
}

export async function deleteSection(params: any) {
  return network.deleter(basic.sectionConf, { params });
}
